          <span class="oculto">
              <input class="lectura" type="text" value="<?php echo $cliente->getId()?>" name="crm_vehiculo_filters[cliente_id]" id="crm_vehiculo_filters_cliente_id">
          </span>
          <input class="lectura focus" type="text" 
                 value="<?php echo $cliente->getNombre().' '.$cliente->getApellidos()?>" size="35px"
                 name="crm_vehiculo_filters[cliente_vehiculo]" id="crm_vehiculo_filters_cliente_vehiculo">



<script language="JavaScript" type="text/javascript">
$(document).ready(function() { 
            $("#crm_vehiculo_filters_cliente_vehiculo").autocomplete({
                    source: "<?php echo url_for('contacto/ajaxClientes')?>",
                    minLength: 0,
                    select: function( event, ui ) {
                    $('#crm_vehiculo_filters_cliente_id').val(ui.item.id);  
                    var cliente_id = ui.item.id;
                    var url = "<?php echo url_for('vehiculo/actualizaBusquedaClienteId'); ?>"+"?cliente_id="+cliente_id;
                    $("#datosBusquedaCliente").load(url);

                        // !!! Important !!! 
                        // always return false to prevent standard browser submit and page navigation 
                    return false; 
                    }

                });
               
 }); 
</script>

<script language="JavaScript" type="text/javascript">
	$('input[type="text"]').focus(function() {
	    $(this).addClass("focus");
	    $(this).parent().parent().addClass("focustr");
	});
	$('input[type="text"]').blur(function() {
	    $(this).removeClass("focus");
	    $(this).parent().parent().removeClass("focustr");
	});
	$('textarea').focus(function() {
	    $(this).addClass("focus");
	    $(this).parent().parent().addClass("focustr");
	});
	$('textarea').blur(function() {
	    $(this).removeClass("focus");
	    $(this).parent().parent().removeClass("focustr");
	});
        $('select').focus(function() {
	    $(this).addClass("focus");
	    $(this).parent().parent().addClass("focustr");
	});
	$('select').blur(function() {
	    $(this).removeClass("focus");
	    $(this).parent().parent().removeClass("focustr");
	});
</script>